package com.xoa.model.workflow;

import com.xoa.model.enclosure.Attachment;

import java.util.List;

/**
 * Created by gsb on 2017/8/15.
 */
public class FlowRunModelPrcs extends  FlowRun {
    Integer realPrcsId;//真实步骤ID
    Integer step;//流程步骤
    Integer flowFromId;//表单ID
    String flowName;

    String userName;
    String userId;
    String flowPrcs;
    String prcsId;
    Integer id;
    String prcsFlag;

    String status;

    String manage;//管理权限（1-有，0-无）
    String monitor;//监控权限（1-有，0-无）
    String query;//查询权限（1-有，0-无）
    String edit;//编辑权限（1-有，0-无）
    String comment;//点评权限（1-有，0-无）
    String all;//全部权限（1-有，0-无）

    List<Attachment> list;

    private String chuan;//是否传阅 0 不传 1 传

    public List<Attachment> getList() {
        return list;
    }

    public void setList(List<Attachment> list) {
        this.list = list;
    }

    @Override
    public String getUserName() {
        return userName;
    }

    @Override
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public Integer getRealPrcsId() {
        return realPrcsId;
    }

    public void setRealPrcsId(Integer realPrcsId) {
        this.realPrcsId = realPrcsId;
    }

    public Integer getStep() {
        return step;
    }

    public void setStep(Integer step) {
        this.step = step;
    }

    public Integer getFlowFromId() {
        return flowFromId;
    }

    public void setFlowFromId(Integer flowFromId) {
        this.flowFromId = flowFromId;
    }

    public String getManage() {
        return manage==null?"0":manage;
    }

    public void setManage(String manage) {
        this.manage = manage;
    }

    public String getMonitor() {
        return monitor==null?"0":monitor;
    }

    public void setMonitor(String monitor) {
        this.monitor = monitor;
    }

    public String getQuery() {
        return query==null?"0":query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getEdit() {
        return edit==null?"0":edit;
    }

    public void setEdit(String edit) {
        this.edit = edit;
    }

    public String getComment() {
        return comment==null?"0":comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getAll() {
        return all==null?"0":all;
    }

    public void setAll(String all) {
        this.all = all;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFlowPrcs() {
        return flowPrcs;
    }

    public void setFlowPrcs(String flowPrcs) {
        this.flowPrcs = flowPrcs;
    }

    public String getPrcsId() {
        return prcsId;
    }

    public void setPrcsId(String prcsId) {
        this.prcsId = prcsId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrcsFlag() {
        return prcsFlag;
    }

    public void setPrcsFlag(String prcsFlag) {
        this.prcsFlag = prcsFlag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getChuan() {
        return chuan;
    }

    public void setChuan(String chuan) {
        this.chuan = chuan;
    }
}
